package org.dromara.kitchen.domain.user;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.io.Serializable;
import lombok.EqualsAndHashCode;

import java.io.Serial;

/**
 * 用户收藏列对象 user_collection
 *
 * @author Mr.Zhou
 * @date 2024-12-04
 */
@Data
@TableName("user_collection")
public class UserCollection implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    /**
     * 用户id
     */
    private Integer userId;

    /**
     * 商品规格id
     */
    private Integer skuId;

    /**
     * 商铺id
     */
    private Integer merId;

    /**
     * 收藏的商品id
     */
    private Integer productId;

    /**
     * 套餐id
     */
    private Integer mealId;

    /**
     * 厨师id
     */
    private Integer chefId;

    /**
     * 状态
     */
    private Integer state;

    /**
     * 收藏的类型 0 - 商品  1 - 店铺 2 - 套餐 3 - 厨师
     */
    private Integer collectionType;


}
